package com.ruoyi.web.controller.test;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.annotation.Anonymous;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

// @Api(tags = "示例接口1112342")
@RestController
@RequestMapping("/demo")
public class DemoController {
    
    @ApiOperation(value = "Hello接口111234", notes = "返回一个简单的问候消息")
    @GetMapping("/hello")
    @Anonymous
    public AjaxResult hello() {
        return AjaxResult.success("Hello, Ruoyi!");
    }
}